import request from '@/utils/request'//引入ajax
// 分页查询角色数据
export const findRecord = (page,limit,recordPatientDto) => {
    return request({
        url: `/admin/Record/RecordPatient/findRecord/${page}/${limit}`,
        method: 'get',
        params:recordPatientDto
    })
}

export const findRecordPatient = (id) => {
    return request({
        url: `/admin/Record/RecordPatient/findRecordPatientBy/${id}`,
        method: 'get'
    })
}

export const saveRecordPatient = (recordDto) => {
    return request({
        url: `/admin/Record/RecordPatient/saveRecordPatient`,
        method: 'post',
    data:recordDto
    })
}